Skip to content

Find Z3 within PATH env#818

Merged
marcoeilers merged 3 commits into
viperproject:masterfrom
manud99:find-z3-within-path-env
Mar 14, 2024
Merged

Find Z3 within PATH env#818
marcoeilers merged 3 commits into
viperproject:masterfrom
manud99:find-z3-within-path-env

Conversation

@manud99

@manud99 manud99 commented Mar 14, 2024

Copy link
Copy Markdown
Contributor

Currently, when using Silicon one has to explicitly define the location of the Z3 binary. Either via the --z3Exe option or via the Z3_EXE environment variable. My contribution allows the user to have Z3 referenced via its PATH environment variable. This mimics the behavior of the shell. So when it is possible to run z3 --version on the command line, one should also be able to run Silicon without any further configuration.

Already set config values are observed before running the PATH lookup, so this PR does not change the behavior of existing setups.

@marcoeilers

Copy link
Copy Markdown
Contributor

Thanks!

@marcoeilers marcoeilers merged commit 3d619b8 into viperproject:master Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants